﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MySubmit.aspx.cs" Inherits="XMK.Tadong.Web.WebFileExplorer.MySubmit" %>

<%@ Import Namespace="HU8.Web.FileExplorer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>我的提交</title>
    <link href="Styles/mycss.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/changerows.js" type="text/javascript"></script>
    <!-- JQuery -->
    <script type="text/javascript" src="Scripts/jquery-1.6.4.min.js"></script>
    <script type="text/javascript" src="Scripts/jquery-ui-1.8.16.custom.min.js"></script>
    <!-- Wijmo dialog -->
    <link type="text/css" rel="Stylesheet" href="Scripts/wijmo-dialog/ui-themes/aristo/jquery-wijmo.css" />
    <link type="text/css" rel="Stylesheet" href="Scripts/wijmo-dialog/ui-themes/wijmo/jquery.wijmo.wijdialog.css" />
    <script type="text/javascript" src="Scripts/wijmo-dialog/jquery.wijmo-open.1.4.1.min.js"></script>
    <!-- HU8 Libs -->
    <script type="text/javascript" src="Scripts/hu8.libs.js"></script>
    <!-- HU8 Box -->
    <script type="text/javascript" src="Scripts/hu8-box/languages/zh.js"></script>
    <script type="text/javascript" src="Scripts/hu8-box/hu8.box.js"></script>
    <script type="text/javascript">
        function test(File_ID) {

            box.open_window("", "DataSubmit/AgainDataSubmit.aspx?File_ID=" + File_ID + "", 800, 600, true);
            
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="gvData" EmptyDataText="没有数据" Height="100%" CssClass="gridview"
            RowStyle-HorizontalAlign="center" AutoGenerateColumns="False" runat="server"
            OnRowCommand="gvData_RowCommand" OnRowDataBound="gvData_RowDataBound" RowStyle-Height="25px">
            <Columns>
                <asp:BoundField DataField="File_ID" HeaderText="File_ID" Visible="False" />
                <asp:BoundField DataField="FILE_NAME" HeaderText="文档名称">
                    <HeaderStyle Width="20%" />
                </asp:BoundField>
                <asp:BoundField DataField="CREATE_TIME" HeaderText="提交时间" DataFormatString="{0:yyyy-MM-dd}">
                    <HeaderStyle Width="20%" />
                </asp:BoundField>
                <asp:BoundField DataField="TEAM_NAME" HeaderText="提交课题组">
                    <HeaderStyle Width="20%" />
                </asp:BoundField>
                <asp:TemplateField HeaderText="状态">
                    <ItemTemplate>
                        <asp:Label ID="lblStatus" runat="server" Text='<%# Eval("STATUS") %>' Visible="false"></asp:Label>
                        <asp:Label ID="lblStatus1" runat="server"></asp:Label>
                        <asp:Label ID="lblSAVE_PATH" runat="server" Text='<%# Eval("SAVE_PATH") %>' Visible="false"></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle Width="20%" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="操作">
                    <ItemTemplate>
                        <div id="div" runat="server">
                            <input type="button" id="btnResetSubmit" value="重新提交" class="input1" onclick='test(<%# Eval("File_ID") %>)' />
                            <asp:Button ID="btnBackSubmit" runat="server" Text="放弃提交" CssClass="input1" CommandArgument='<%# Eval("File_ID") +"&"+ Eval("SAVE_PATH")%>'
                                CommandName="BackSubmit" />
                        </div>
                    </ItemTemplate>
                    <HeaderStyle Width="20%" />
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
        <asp:Label ID="lblErr" Font-Size="12px" ForeColor="Red" runat="server"></asp:Label>
    </div>
    </form>
</body>
</html>
<script language="javascript">
    //senfe("表格名称","奇数行背景","偶数行背景","鼠标经过背景","点击后背景");
    senfe("gvData", "#ECF9FC", "#FFFFFF", "#E3EEFB");
</script>
